package com.cli.spring_session_demo.exceptions;

import com.cli.spring_session_demo.error.ErrorCode;

/**
 * @Author xiongmin
 * @Description //TODO
 * @Date 2020/3/25 15:14
 * @Version 1.0
 **/
public class MyException extends APIException {
    public MyException(String message) {
        this.errorCode = ErrorCode.MY_EXCEPTION;
        this.message = message;
    }
}
